package com.example.demo4_sport.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 主导航菜单
 */
@Data
@NoArgsConstructor
@ToString
public class MainMenu {

    private Integer id;
    private String title;
    private String path;
    private List<SubMenu> sList;

    public MainMenu(String title, String path, List<SubMenu> sList) {
        this.title = title;
        this.path = path;
        this.sList = sList;
    }
}
